package com.ruoyi.system.service.car4s_service.car4s_impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.car4s_mapper.Car4sCustomerFeedbackInfoMapper;
import com.ruoyi.system.domain.car4s_domain.Car4sCustomerFeedbackInfo;
import com.ruoyi.system.service.car4s_service.ICar4sCustomerFeedbackInfoService;

/**
 * 客户反馈信息Service业务层处理
 * 
 * @author LK
 * @date 2024-06-29
 */
@Service
public class Car4sCustomerFeedbackInfoServiceImpl implements ICar4sCustomerFeedbackInfoService 
{
    @Autowired
    private Car4sCustomerFeedbackInfoMapper car4sCustomerFeedbackInfoMapper;

    /**
     * 查询客户反馈信息
     * 
     * @param customerFeedbackInfoId 客户反馈信息主键
     * @return 客户反馈信息
     */
    @Override
    public Car4sCustomerFeedbackInfo selectCar4sCustomerFeedbackInfoByCustomerFeedbackInfoId(Long customerFeedbackInfoId)
    {
        return car4sCustomerFeedbackInfoMapper.selectCar4sCustomerFeedbackInfoByCustomerFeedbackInfoId(customerFeedbackInfoId);
    }

    /**
     * 查询客户反馈信息列表
     * 
     * @param car4sCustomerFeedbackInfo 客户反馈信息
     * @return 客户反馈信息
     */
    @Override
    public List<Car4sCustomerFeedbackInfo> selectCar4sCustomerFeedbackInfoList(Car4sCustomerFeedbackInfo car4sCustomerFeedbackInfo)
    {
        return car4sCustomerFeedbackInfoMapper.selectCar4sCustomerFeedbackInfoList(car4sCustomerFeedbackInfo);
    }

    /**
     * 新增客户反馈信息
     * 
     * @param car4sCustomerFeedbackInfo 客户反馈信息
     * @return 结果
     */
    @Override
    public int insertCar4sCustomerFeedbackInfo(Car4sCustomerFeedbackInfo car4sCustomerFeedbackInfo)
    {
        return car4sCustomerFeedbackInfoMapper.insertCar4sCustomerFeedbackInfo(car4sCustomerFeedbackInfo);
    }

    /**
     * 修改客户反馈信息
     * 
     * @param car4sCustomerFeedbackInfo 客户反馈信息
     * @return 结果
     */
    @Override
    public int updateCar4sCustomerFeedbackInfo(Car4sCustomerFeedbackInfo car4sCustomerFeedbackInfo)
    {
        return car4sCustomerFeedbackInfoMapper.updateCar4sCustomerFeedbackInfo(car4sCustomerFeedbackInfo);
    }

    /**
     * 批量删除客户反馈信息
     * 
     * @param customerFeedbackInfoIds 需要删除的客户反馈信息主键
     * @return 结果
     */
    @Override
    public int deleteCar4sCustomerFeedbackInfoByCustomerFeedbackInfoIds(Long[] customerFeedbackInfoIds)
    {
        return car4sCustomerFeedbackInfoMapper.deleteCar4sCustomerFeedbackInfoByCustomerFeedbackInfoIds(customerFeedbackInfoIds);
    }

    /**
     * 删除客户反馈信息信息
     * 
     * @param customerFeedbackInfoId 客户反馈信息主键
     * @return 结果
     */
    @Override
    public int deleteCar4sCustomerFeedbackInfoByCustomerFeedbackInfoId(Long customerFeedbackInfoId)
    {
        return car4sCustomerFeedbackInfoMapper.deleteCar4sCustomerFeedbackInfoByCustomerFeedbackInfoId(customerFeedbackInfoId);
    }
}
